package com.gorkr.clientdemo1.clients;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author gorkr
 * @title: FeignTestClient
 * @projectName spring-cloud-alibaba-demo
 * @description: TODO
 * @date 2022/6/259:55
 */

@FeignClient(value = "client-demo-2")
public interface FeignTestClient {

    @GetMapping("/test/{id}")
    String test(@PathVariable("id") Integer id);

}
